var settings = require('../setting')
var Db = require('mongodb').Db;  //创建一个数据库实例
var Connection = require('mongodb').Connection;
var Server = require('mongodb').Server;
module.exports = new Db(settings.db,new Server(settings.host,settings.port),{
    safe:true
})